package bean;

import converter.LocalDateExcelTypeConverter;
import fun.ltool.core.excel.annotation.ExcelEntity;
import fun.ltool.core.excel.annotation.ExcelField;
import lombok.Data;

import java.time.LocalDate;

@ExcelEntity(rowRange = {0, 4}, columnRange = {0, 20})
@Data
public class ExcelBean {
    @ExcelField(name = "序号")
    private Integer id;
    @ExcelField(name = "车牌号")
    private String number;
    @ExcelField(name = "车牌颜色")
    private String color;
    @ExcelField(name = "行驶证车辆类型")
    private String type;
    @ExcelField(name = "日期", typeConverter = LocalDateExcelTypeConverter.class)
    private LocalDate date;
}
